package class_1_8.abstract_test.capacity;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("66");
        dog.IRun();
        System.out.println("---------------");
        Frog frog=new Frog("小蛙");
        frog.swim();
        frog.IRun();
        System.out.println("---------------");
        Goose goose=new Goose("凶猛的大鹅");
        goose.Fly();
        goose.IRun();
        goose.swim();

    }
}
